home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_jr / norm < prev    next >
Text File  |  1994-12-28  |  915b  |  37 lines

  1. norm:
  2.  
  3. Synopsis: Compute the norm of a matrix or vector.
  4.  
  5. Syntax:    norm ( A )
  6.     norm ( A , "type" )
  7.     norm ( A, P )
  8.  
  9. Description:
  10.  
  11.     The first form defaults to computing the 1-norm of the input
  12.     matrix. The second and third forms allow the user to specify
  13.     the desired vector or matrix norm.
  14.  
  15.     type:
  16.  
  17.     "M" or "m" returns max(abs( MATRIX ))
  18.     
  19.     "1", "O" or "o" return the 1-norm (default)
  20.  
  21.     "2" returns the matrix 2-norm (largest singular value)
  22.  
  23.     "I" or "i" returns the infinity-norm
  24.  
  25.     "F", "f", "E" or "e" returns the Frobenius norm.
  26.  
  27.     LAPACK subroutines DLANGE and ZLANGE are used to compute all
  28.     norms, except the 2-norm.
  29.  
  30.     If the third form of the function is used, then norm attempts
  31.     to compute the vector p-norm. If A is not a row or column
  32.     vector, then an error occurs.
  33.  
  34.     Obscure feature: If P is Inf (the output from inf(), for
  35.     example), then norm will compute the Infinity norm of the
  36.     vector _or_ matrix A.
  37.